...this was split into two commits as this source file has different
line endings (for some reason) from the other GDK-Win32 source files that
were updated in the quest to refrain from using deprecated APIs
if (hcursor != NULL)\r
{\r
/* If the pointer is over our window, set new cursor */\r
- GdkWindow *curr_window = gdk_window_get_pointer (window, NULL, NULL, NULL);\r
+ GdkWindow *curr_window = gdk_window_get_device_position (window, device, NULL, NULL, NULL);
\r
if (curr_window == window ||\r
(curr_window && window == gdk_window_get_toplevel (curr_window)))\r